package org.yan.stock.server.core;

import java.io.IOException;
import java.util.Map;

public interface Messaging {

	/**
	 * Send a message from server to device without retry.
	 */
	boolean sendNoRetry(String registrationId,String collapse,Map<String, String[]> params,boolean delayWhileIdle) throws IOException ;
	
	boolean sendNoRetry(String registrationId, String collapseKey, String name1, String value1, String name2, String value2, String name3,
			String value3) throws IOException;
	
	boolean sendNoRetry(String registrationId, String collapseKey, String... nameValues) throws IOException;
}
